package com.wfs.suanfa.jvm.classloader;

/**
 * @author: wfs
 * @Date: 2020/11/18 18:14
 * @Description: 字符看sun.misc.Launcher
 */
public class T003_ClassLoaderLevel {
    public static void main(String[] args) {
        System.err.println("---------Bootstrap ClassLoader----------");
        String pathBoot=System.getProperty("sun.boot.class.path");
        System.out.println(pathBoot.replaceAll(";",System.lineSeparator()));
        System.err.println("---------Extension ClassLoader----------");
        String pathExt=System.getProperty("java.ext.dirs");
        System.out.println(pathExt.replaceAll(";",System.lineSeparator()));
        System.err.println("---------Application ClassLoader----------");
        String pathApp=System.getProperty("java.class.path");
        System.out.println(pathApp.replaceAll(";",System.lineSeparator()));
    }
}
